package com.kla.power.service;

import com.kla.power.entity.InverterAmountStatisticsDayEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kla.power.entity.StationEntity;
import com.kla.power.util.ResultBody;

import java.util.List;

/**
 * <p>
 * 逆变器电量统计，每日凌晨更新昨日发电量，用于显示逆变器详情页 服务类
 * </p>
 * @author WuZH
 * @since 2024-06-02
 */
public interface IInverterAmountStatisticsDayService extends IService<InverterAmountStatisticsDayEntity> {

    InverterAmountStatisticsDayEntity saveSingle (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);

    List<InverterAmountStatisticsDayEntity> queryHistoryList (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);

    List<InverterAmountStatisticsDayEntity> queryAllStationAmountList (StationEntity stationEntity);

    /**
     * 日报表
     * @param inverterAmountStatisticsDayEntity
     * @return
     */
    ResultBody queryDay (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);

    List<InverterAmountStatisticsDayEntity> queryMonth (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);

    List<InverterAmountStatisticsDayEntity> queryYear (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);

    List<InverterAmountStatisticsDayEntity> downDay (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);

    List<InverterAmountStatisticsDayEntity> downMonth (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);

    List<InverterAmountStatisticsDayEntity> downYear (InverterAmountStatisticsDayEntity inverterAmountStatisticsDayEntity);
}
